-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port-changes - frozen columns #1
base: main
Are you sure you want to change the base?
Conversation
@@ -45,9 +45,11 @@ const root = css` | |||
--rdg-selection-color: #66afe9; | |||
--rdg-font-size: 14px; | |||
--rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, 0.3); | |||
--rdg-cell-right-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, 0.3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just check if we can override it in the frontend app, so we can apply theming if needed (needed for dark theme already)
src/utils/domUtils.ts
Outdated
@@ -6,4 +6,5 @@ export function stopPropagation(event: React.SyntheticEvent) { | |||
|
|||
export function scrollIntoView(element: Maybe<Element>) { | |||
element?.scrollIntoView({ inline: 'nearest', block: 'nearest' }); | |||
// element?.scrollIntoView({ inline: 'center', block: 'nearest' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean
src/HeaderCell.tsx
Outdated
|
||
&:hover { | ||
background: var(--rdg-selection-color); | ||
padding: 5px 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do duplication of 2/4 (so let's use 4px or 6px here)
No description provided.